Optimal. Leaf size=61 \[ -\frac {\sqrt {\pi +c^2 \pi x^2} \left (a+b \sinh ^{-1}(c x)\right )}{x}+\frac {c \sqrt {\pi } \left (a+b \sinh ^{-1}(c x)\right )^2}{2 b}+b c \sqrt {\pi } \log (x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 61, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.115, Rules used = {5805, 29, 5783}
\begin {gather*} -\frac {\sqrt {\pi c^2 x^2+\pi } \left (a+b \sinh ^{-1}(c x)\right )}{x}+\frac {\sqrt {\pi } c \left (a+b \sinh ^{-1}(c x)\right )^2}{2 b}+\sqrt {\pi } b c \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 29
Rule 5783
Rule 5805
Rubi steps
\begin {align*} \int \frac {\sqrt {\pi +c^2 \pi x^2} \left (a+b \sinh ^{-1}(c x)\right )}{x^2} \, dx &=-\frac {\sqrt {\pi +c^2 \pi x^2} \left (a+b \sinh ^{-1}(c x)\right )}{x}+\frac {\left (b c \sqrt {\pi +c^2 \pi x^2}\right ) \int \frac {1}{x} \, dx}{\sqrt {1+c^2 x^2}}+\frac {\left (c^2 \sqrt {\pi +c^2 \pi x^2}\right ) \int \frac {a+b \sinh ^{-1}(c x)}{\sqrt {1+c^2 x^2}} \, dx}{\sqrt {1+c^2 x^2}}\\ &=-\frac {\sqrt {\pi +c^2 \pi x^2} \left (a+b \sinh ^{-1}(c x)\right )}{x}+\frac {c \sqrt {\pi +c^2 \pi x^2} \left (a+b \sinh ^{-1}(c x)\right )^2}{2 b \sqrt {1+c^2 x^2}}+\frac {b c \sqrt {\pi +c^2 \pi x^2} \log (x)}{\sqrt {1+c^2 x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.11, size = 75, normalized size = 1.23 \begin {gather*} \frac {\sqrt {\pi } \left (-2 a \sqrt {1+c^2 x^2}+2 \left (a c x-b \sqrt {1+c^2 x^2}\right ) \sinh ^{-1}(c x)+b c x \sinh ^{-1}(c x)^2+2 b c x \log (c x)\right )}{2 x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(154\) vs.
\(2(53)=106\).
time = 3.63, size = 155, normalized size = 2.54
method | result | size |
default | \(-\frac {a \left (\pi \,c^{2} x^{2}+\pi \right )^{\frac {3}{2}}}{\pi x}+a \,c^{2} x \sqrt {\pi \,c^{2} x^{2}+\pi }+\frac {a \,c^{2} \pi \ln \left (\frac {\pi \,c^{2} x}{\sqrt {\pi \,c^{2}}}+\sqrt {\pi \,c^{2} x^{2}+\pi }\right )}{\sqrt {\pi \,c^{2}}}+\frac {b c \sqrt {\pi }\, \arcsinh \left (c x \right )^{2}}{2}-b c \sqrt {\pi }\, \arcsinh \left (c x \right )-\frac {b \sqrt {\pi }\, \arcsinh \left (c x \right ) \sqrt {c^{2} x^{2}+1}}{x}+b c \sqrt {\pi }\, \ln \left (\left (c x +\sqrt {c^{2} x^{2}+1}\right )^{2}-1\right )\) | \(155\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 110 vs.
\(2 (54) = 108\).
time = 1.84, size = 110, normalized size = 1.80 \begin {gather*} - \frac {\sqrt {\pi } a c^{2} x}{\sqrt {c^{2} x^{2} + 1}} + \sqrt {\pi } a c \operatorname {asinh}{\left (c x \right )} - \frac {\sqrt {\pi } a}{x \sqrt {c^{2} x^{2} + 1}} + \sqrt {\pi } b c \log {\left (x \right )} + \frac {\sqrt {\pi } b c \operatorname {asinh}^{2}{\left (c x \right )}}{2} - \frac {\sqrt {\pi } b \sqrt {c^{2} x^{2} + 1} \operatorname {asinh}{\left (c x \right )}}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {\left (a+b\,\mathrm {asinh}\left (c\,x\right )\right )\,\sqrt {\Pi \,c^2\,x^2+\Pi }}{x^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________